execute if entity @s[nbt={SelectedItem:{tag:{id:"artifacts:void_scroll"}}}] run function artifacts:teleport_void
execute if entity @s[nbt={SelectedItem:{tag:{id:"artifacts:inferno_scroll"}}}]run function artifacts:teleport_inferno
execute if entity @s[nbt={SelectedItem:{tag:{id:"artifacts:overworld_scroll"}}}] run function artifacts:teleport_overworld

execute as @a[nbt={SelectedItem:{tag:{artifacts.artifacts_item:1b}}},scores={artifacts_item_used=1..}] run function artifacts:item_commands

LOAD
scoreboard objectives add artifacts_cooldown dummy

TICK
execute as @a[scores={artifacts_cooldown=1..}] run scoreboard players remove @s artifacts_cooldown 1
function artifacts:show_cooldown

RC DETECT
if score @s artifacts_cooldown matches 0 

ITEMS_COMMANDS
scoreboard players set @s artifacts_cooldown 600

ARTIFACTS COOLDOWN 
execute as @a[scores={artifacts_cooldown=1..}] run title @s actionbar ["",{"text":"Cooldown: ","color":"red"},{"score":{"name":"@s","objective":"artifacts_cooldown"},"color":"red"},{"text":" ticks","color":"red"}]

Bong/blunt particle
particle minecraft:campfire_signal_smoke ~ ~1.75 ~ 0.2 0 0.2 0 10 force